#ifndef XMLIMPORTDIALOG_H
#define XMLIMPORTDIALOG_H

#include <QtGui>
#include <QtSql>
#include <QtXml>
#include "QSplashScreen"
#include "xmlfile.h"
#include "ui_xmlimportdialog.h"

class XMLImportDialog: public QDialog, private Ui::XMLImportDialog
{
Q_OBJECT

public:

XMLImportDialog();
~XMLImportDialog();
QMap<QString, QString> return_selected();

public slots:

void select_album(QModelIndex index);
void select_sheet(QString);
void delete_model();
void file_name();
void search_sheets();

signals:

void selected_album( QMap<QString, QString> );

private:

QMap<QString, QString> m;
void check_selection();
QPixmap create_splash_image();
void setup_data();

protected:

void closeEvent(QCloseEvent * e);

};

#endif // XMLIMPORTDIALOG_H
